<?php

/**
 * @desc User Module. 
 *
 */
class User_Module extends Kernel_Module 
{

    /**
     * Collection of the names and classes of managers which current
     * module presents in Backend. 
     *
     * @param array
     */
    protected $_managers = array
    (
        'security'  => 'User_Backend_Security', 
    );
    
    /**
    * Return filters list. Used with Kernel_Manager_FilteredList
    * 
    * @param string $name
    * @return array
    */
    protected function _getManagerFilters($name) 
    {
        return 'security' == $name 
            ? Backend_Utils_User::getRoles()
            : array();
    }
    
}
